<%-- 
    Document   : accueil
    Created on : 8 juin 2014, 12:52:19
    Author     : David
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<!DOCTYPE html>
<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <!--        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0" />-->
        <title>Simple - Free CSS template by ChocoTemplates.com</title>
        <script src="js/functions.js" type="text/javascript"></script>
    </head>
    <body>

        <ul id="menu">
            <li class="active">

                <a href="#">home</a>

            </li>
            <li>

                <a href="#">Mon véhicule</a>
                <ul>
                    <li> <a href="#">Propriétés</a></li>


                    <li><a href="afficherEntretiens">Entretiens</a></li>
                </ul>

            </li>
            <li>
                <a href="#">Planfier</a>
                <ul>
                    <li> <a href="#">Un entretien</a></li>
                    <li><a href="#">Un contrôle technique</a></li>
                </ul>
            </li>
            <li>
                <a href="seConnecter">Connexion</a>
            </li>
            <li>
                <a href="#">Vehicules</a>
                <ul>


                    <s:if test="#session.listeVehicule">
                        <s:iterator value="#session.listeVehicule">
                            <s:url action="choixVehiculeAction" var="vehiculeSelected" >
                                <s:param name="idVehicule"><s:property value="id"/></s:param>
                            </s:url>
                            <li><a href="<s:property value="#vehiculeSelected" />" ><s:property value="marque.libelle"/>&nbsp;<s:property value="modele.libelle"/></a></li>
                        </s:iterator>
                    </s:if>




                </ul>
            </li>
        </ul>

        <a href="afficherAjoutVehicule" class="blue-btn">Ajouter un véhicule</a>


        <!-- end of footer -->
    </body>
</html>
